home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_12716.txt < prev    next >
Text File  |  1990-10-02  |  6KB  |  267 lines

  1. -- card: 12716 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 9193
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,chase,blasting
  13.   if direction = "south" then
  14.     go to card id 25160
  15.     exit move
  16.   end if
  17.   if direction = "east" or direction = "up" then
  18.     go card id 33443
  19.     exit move
  20.   end if
  21.   pass move
  22. end move
  23.  
  24.  
  25. on closeCard
  26.   set the cursor to 4
  27.   put "" into field 3
  28. end closeCard
  29.  
  30. on take
  31.   global object,carried
  32.   -- remember to update carried if you do not pass take
  33.   pass take
  34. end take
  35.  
  36. on drop
  37.   global object,dropRoom,carried
  38.   -- remember to update carried if you do not pass drop
  39.   pass drop
  40. end drop
  41.  
  42. on use
  43.   global object,carried
  44.   -- update carried if use results in loss of object
  45.   pass use
  46. end use
  47.  
  48.  
  49.  
  50.  
  51.  
  52. -- part 16 (button)
  53. -- low flags: 80
  54. -- high flags: 2000
  55. -- rect: left=122 top=230 right=266 bottom=156
  56. -- title width / last selected line: 0
  57. -- icon id / first selected line: 9301 / 9301
  58. -- text alignment: 1
  59. -- font id: 0
  60. -- text size: 12
  61. -- style flags: 0
  62. -- line height: 16
  63. -- part name: knife
  64. ----- HyperTalk script -----
  65. on mouseUp
  66.   global takeFlag,examFlag,object,cardID
  67.   put the name of the target into object
  68.   if takeFlag = true
  69.   then send take to card id cardID
  70. else put "a knife" into field 3
  71. put false into examFlag
  72. end mouseUp
  73.  
  74.  
  75.  
  76. -- part 17 (button)
  77. -- low flags: 80
  78. -- high flags: 2000
  79. -- rect: left=89 top=195 right=231 bottom=123
  80. -- title width / last selected line: 0
  81. -- icon id / first selected line: 1015 / 1015
  82. -- text alignment: 1
  83. -- font id: 0
  84. -- text size: 12
  85. -- style flags: 0
  86. -- line height: 16
  87. -- part name: nodule
  88. ----- HyperTalk script -----
  89. on mouseUp
  90.   global takeFlag,examFlag,object,cardID
  91.   put the name of the target into object
  92.   if takeFlag = true
  93.   then send take to card id cardID
  94. else put "a silicon sphere" into field 3
  95. put false into examFlag
  96. end mouseUp
  97.  
  98.  
  99.  
  100. -- part 18 (button)
  101. -- low flags: 80
  102. -- high flags: 2000
  103. -- rect: left=122 top=195 right=231 bottom=156
  104. -- title width / last selected line: 0
  105. -- icon id / first selected line: 14953 / 14953
  106. -- text alignment: 1
  107. -- font id: 0
  108. -- text size: 12
  109. -- style flags: 0
  110. -- line height: 16
  111. -- part name: ladder
  112. ----- HyperTalk script -----
  113. on mouseUp
  114.   global takeFlag,examFlag,object,cardID
  115.   put the name of the target into object
  116.   if takeFlag = true
  117.   then send take to card id cardID
  118. else put "a rope ladder" into field 3
  119. put false into examFlag
  120. end mouseUp
  121.  
  122.  
  123.  
  124. -- part 20 (button)
  125. -- low flags: 80
  126. -- high flags: 2000
  127. -- rect: left=89 top=160 right=196 bottom=123
  128. -- title width / last selected line: 0
  129. -- icon id / first selected line: 24317 / 24317
  130. -- text alignment: 1
  131. -- font id: 0
  132. -- text size: 12
  133. -- style flags: 0
  134. -- line height: 16
  135. -- part name: key
  136. ----- HyperTalk script -----
  137. on mouseUp
  138.   global takeFlag,examFlag,object,cardID
  139.   put the name of the target into object
  140.   if takeFlag = true
  141.   then send take to card id cardID
  142. else put "a key" into field 3
  143. put false into examFlag
  144. end mouseUp
  145.  
  146.  
  147.  
  148. -- part 21 (button)
  149. -- low flags: 80
  150. -- high flags: 2000
  151. -- rect: left=158 top=210 right=246 bottom=192
  152. -- title width / last selected line: 0
  153. -- icon id / first selected line: 7012 / 7012
  154. -- text alignment: 1
  155. -- font id: 0
  156. -- text size: 12
  157. -- style flags: 0
  158. -- line height: 16
  159. -- part name: gem
  160. ----- HyperTalk script -----
  161. on mouseUp
  162.   global takeFlag,examFlag,object,cardID
  163.   put the name of the target into object
  164.   if takeFlag = true
  165.   then send take to card id cardID
  166. else put "a glowing gem" into field 3
  167. put false into examFlag
  168. end mouseUp
  169.  
  170.  
  171.  
  172. -- part 22 (button)
  173. -- low flags: 80
  174. -- high flags: 2000
  175. -- rect: left=130 top=157 right=193 bottom=164
  176. -- title width / last selected line: 0
  177. -- icon id / first selected line: 23078 / 23078
  178. -- text alignment: 1
  179. -- font id: 0
  180. -- text size: 12
  181. -- style flags: 0
  182. -- line height: 16
  183. -- part name: orb
  184. ----- HyperTalk script -----
  185. on mouseUp
  186.   global takeFlag,examFlag,object,cardID
  187.   put the name of the target into object
  188.   if takeFlag = true
  189.   then send take to card id cardID
  190. else put "a crystal orb" into field 3
  191. put false into examFlag
  192. end mouseUp
  193.  
  194.  
  195.  
  196. -- part 33 (button)
  197. -- low flags: 00
  198. -- high flags: 0000
  199. -- rect: left=167 top=70 right=124 bottom=219
  200. -- title width / last selected line: 0
  201. -- icon id / first selected line: 0 / 0
  202. -- text alignment: 1
  203. -- font id: 0
  204. -- text size: 12
  205. -- style flags: 0
  206. -- line height: 16
  207. -- part name: 
  208. ----- HyperTalk script -----
  209. on mouseUp
  210.   global examFlag,direction,cardID
  211.   if examFlag then
  212.     put "A hole blasted in the orange flowstone wall leads south." into field 3
  213.     put false into examFlag
  214.   else
  215.     put "south" into direction
  216.     send move to card id cardID
  217.   end if
  218. end mouseUp
  219.  
  220.  
  221.  
  222. -- part 41 (button)
  223. -- low flags: 00
  224. -- high flags: 0000
  225. -- rect: left=21 top=140 right=214 bottom=49
  226. -- title width / last selected line: 0
  227. -- icon id / first selected line: 0 / 0
  228. -- text alignment: 1
  229. -- font id: 0
  230. -- text size: 12
  231. -- style flags: 0
  232. -- line height: 16
  233. -- part name: 
  234. ----- HyperTalk script -----
  235. on mouseUp
  236.   global examFlag,direction,cardID
  237.   if examFlag then
  238.     put "a tunnel leading upward to the east." into field 3
  239.     put false into examFlag
  240.   else
  241.     put "east" into direction
  242.     send move to card id cardID
  243.   end if
  244. end mouseUp
  245.  
  246.  
  247.  
  248. -- part contents for background part 25
  249. ----- text -----
  250. Flowstone Room
  251. (looking south)
  252.  
  253. -- part contents for background part 24
  254. ----- text -----
  255. You are in an odd shaped room with wonderful flowstone formations on all of the walls.  The south wall is a large sheet of orange flowstone with a gaping hole blasted through it, leading to a room beyond.  A tunnel slants upward to the east.
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. -- part contents for background part 36
  266. ----- text -----
  267. 1